﻿using System.Collections.Generic;

namespace Sidvall.Security
{
	public interface IClaimProvider
	{
		void AddClaim(Claim claim);
		void AddClaims(IEnumerable<Claim> claims);
		void ClearClaims();
		Claim FindClaim(string claimType);
		ClaimCollection FindClaims(string claimType);
		bool HasClaim(string claimType, string value);
		bool RemoveClaim(Claim claim);
		void RemoveClaims(IEnumerable<Claim> claims);
	}
}
